#!/usr/bin/python3
# coding: utf-8
# file: filter_.py
# filter 的使用
# 2018-08-01
f = filter(lambda s: s and len(s.strip()) > 0, ['a', '', None, [], 'b'])

for i in f:
	print(i)